<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="key bindings, shortcut"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Customize keyboard shortcuts in CotEditor on Mac</title>
</head>

<body>

<h1>Customize keyboard shortcuts in CotEditor on Mac</h1>

<p>You can fully customize keyboard shortcuts for various commands in CotEditor.</p>


<section>
<p>The method to change shortcuts depends on the type of the command:</p>

<table>
<caption>Methods to define keyboard shortcuts</caption>
<thead>
	<tr><th>Type</th><th>Description</th></tr>
</thead>

<tbody>
	<tr>
		<th>Menu command</th>
		<td>Keyboard shortcuts for standard menu commands appeared in the menu. Go to the <a href="settings_keybindings.html">Key Bindings settings</a> in the Settings to change the keyboard shortcut for existing menu commands.
			<ul>
			<li>Some menu commands provided by the system can’t be customized in CotEditor. For details about customizing the standard shortcuts for Mac applications, see Apple’s documentation: <a href="https://support.apple.com/guide/mac-help/create-keyboard-shortcuts-for-apps-mchlp2271/mac" rel="external">Create keyboard shortcuts for apps on Mac</a></li>
			</ul></td>
	</tr>
	<tr>
		<th>Snippet insertion</th>
		<td>Keyboard shortcuts for commands to insert a snippet (preset text). The commands inserting snippets appear in the menu too, but the shortcuts to these commands aren’t set in the Key Bindings settings but in the <a href="settings_snippets.html">Snippets</a> settings.</td>
	</tr>
	<tr>
		<th>CotEditor script</th>
		<td>Keyboard shortcuts to execute your CotEditor scripts. Include a specific character combination to the script filename to define a keyboard shortcut. For details, see <a href="script_menu.html">Customize Script menu</a>.</td>
	</tr>
</tbody>
</table>

<p>You cannot set the shortcuts that have already been taken (for example, shortcuts for your scripts or menu items that don’t appear in the list). When the same shortcut is assigned to multiple commands, it performs only one command among them.</p>
</section>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="settings_keybindings.html">Change Key Bindings settings in CotEditor on Mac</a></li>
	<li><a href="settings_snippets.html">Change Snippets settings in CotEditor on Mac</a></li>
	<li><a href="script_menu.html">Customize Script menu in CotEditor on Mac</a></li>
	<li><a href="faq_shortcut.html">If your keyboard shortcut doesn’t work as you expect in CotEditor on Mac</a></li>
</ul>
</section>

</body>
</html>
